package com.fivestar.pmanager.constants;

/**
 * 系统常量
 *
 */
public interface CommonConstants extends BusinessConstants
{

    String SESSION_KEY_SUPPORT_USER = "user";
    String SESSION_KEY_COMMON_PARAMTER = "COMMON_PARAMTER";
    String SESSION_KEY_CAPTCAH = "captcah";
    String PARAMETER_KEY_KEEP_SP = "keepSP";
    String COMMON_MESSAGE_KEY = "msg";
    String FORWARD_COMMON_MESSAGE = "common/operationMessage";
    String COMMON_PAGE_KEY = "page";

    String SESSION_KEY_SEARCH_PARAMS = "SEARCH_PARAMS";
    String SESSION_KEY_SEARCH_PAGE_PARAMS = "PAGE_PARAMS";

    /**
     * 数据字典 查询名称
     */
    String SM_DICT_NAME_ROLE_TYPE = "ROLE_TYPE";
    String SM_DICT_NAME_ROLE_ATTR = "ROLE_ATTR";
    String SM_DICT_NAME_SM_PARAM_CHANGE_ONLINE = "SM_PARAM_CHANGE_ONLINE";
    
    /**
     * 验证码是否使用：0 否
     */
    String USER_VALID_STATE_0 = "0";
    /**
     * 验证码是否使用：1 是
     */
    String USER_VALID_STATE_1 = "1";

    /**
     * 用户附件类型：head 头像
     */
    String USER_ATTACH_TYPE_HEAD = "head";

    /**
     * 用户性别：male 男
     */
    String MD_USER_SEXUAL_MALE = "male";

    /**
     * 用户性别：female 女
     */
    String MD_USER_SEXUAL_FEMALE = "female";


    /**
     * 用户状态：0 正常
     */
    String USER_STATE_0 = "0";
    /**
     * 用户状态：1 停用
     */
    String USER_STATE_1 = "1";

    /**
     * 用户类型-运营
     */
    String USER_IDENTITY_OPERATOR = "operator";

}
